<!-- 主要内容 -->
<div class="main mood message  mood-details article1">
    <div class="top_title">博文 &#62 {$detail.title}</div>
    <div class="item1">
        <div class="item-content">
            <h3>{$detail.title}</h3>
            <p class="label">
                {volist name=":explode(',',$detail.keywords)" id="v"}
                <a href="/search/search_name/{$v}.html"><span class="Subtitle">{$v}</span></a>
                {/volist}
                <span style="margin-left: 40px;" class="tb"><i style="padding-right:5px;" title="{$detail.hits}" class="layui-icon layui-icon-radio"></i>{$detail.hits}</span>
                <span><i style="padding-right:5px;" class="layui-icon">&#xe637;</i>{$detail.create_time|date="Y/m/d",###}</span>
            </p>
            <div class="content">
                {$detail.content}
            </div>

            <!--上下篇-->
            <div class="btn-box">
                {empty name="preNextData['pre']['id']"}
                <button onclick="javascript:layer.msg('没有了！');" type="button" class="layui-btn">上一篇</button>
                {else /}
                <a target="_self" href="/article/read/{$preNextData['pre']['id']}.html" type="button" class="layui-btn">上一篇</a>
                {/empty}
                {empty name="preNextData['next']['id']"}
                <button onclick="javascript:layer.msg('没有了！');" type="button" class="layui-btn">下一篇</button>
                {else /}
                <a target="_self" href="/article/read/{$preNextData['next']['id']}.html" type="button" class="layui-btn">下一篇</a>
                {/empty}

            </div>
        </div>
    </div>

    <!--分页-->
    {php}
    $pageMethod = '/article/read/'.$detail['id'];
    $messagetable_id = $detail['id'];
    $messagetable_type = 1;
    {/php}
    {include file="common/message_item"}
</div>
